$(".J_ajax_del").click(function () {
    if (confirm("确定要删除吗")) {
        var id = $(this).attr('v-id');
        $.ajax({
            url: '/admin/menu/del',
            type: 'POST',
            data: {id: id},
            dataType: 'JSON',
            cache: false,
            success: function (json) {
                dshow(json.message);
                if (json.code == 2000) {
                    window.location.href = '/admin/menu';
                }
            }
        });
    }
});

